<?php

namespace App\Model;

use App\User;
use Illuminate\Database\Eloquent\Model;

class News extends Model
{
    protected $fillable=['title','brief','content','icon','auth','classify_id','editormd'];
public function user(){
    return $this->belongsTo(User::class);
}
public function classify(){
    return $this->belongsTo(Classify::class);
}


}
